import api from './index'
import { axios } from '@/utils/request'

export function queryVipShareInfo (parameter) {
  return axios({
    url: `${api.Koala}/share-statistic/vip-info`,
    method: 'get',
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    },
    params: parameter
  })
}

export function queryShareTask (userId, taskDate) {
  return axios({
    url: `${api.Koala}/share-statistic/task-info`,
    method: 'get',
    headers: {
      'Content-Type': 'application/json;charset=UTF-8'
    },
    params: {
      userId: userId,
      taskDate: taskDate
    }
  })
}
